const express = require("express");
const fs = require("fs");
const path = require("path");
const router = express.Router();
const {Locker}=require('../../../models/index')

// http://localhost:8080/api/locker
router.get('/',async(req,res)=>{
    const result=await Locker.findAll({});
    res.send(result);
});
router.post('/',async(req,res)=>{
    res.send('locker数据')
});
module.exports = router;